height = eval(input("请输入您的身高（米）："))
weight = eval(input("请输入您的体重（千克）："))

bmi = weight / pow(height,2)
if bmi < 18.5:
    category = "体重过轻"
elif 18.5 <= bmi < 25:
    category = "体重正常"
elif 25 <= bmi < 28:
    category = "过重"
elif 28<= bmi <=32:
    category = "肥胖"
else:
    category = "严重肥胖"

print(f"您的BMI指数为：{bmi:.2f}")
print(f"您的体重状况为：{category}")